<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>    	
<table width="60%" border="0" align="center" cellpadding="0" cellspacing="0" >    	   
	<tr>    
		<td id="cropTd" style="display:none"><input type="button" value="剪切照片" id="cropButton"/></td>    
	</tr>   
   
	<tr>              
		<td id="imgTd" style="width:${param.width}px;height:${param.height}px;" align="center" style="padding-top:5px;">    
		<c:choose>
			<c:when test="${param.tag eq 0}">
      	 		<img  src="${pageContext.request.contextPath }/${param.oldImgPath}" id="imgCrop" name="imgCrop" border="0" />     
      	 	</c:when>
      	 	<c:when test="${param.tag eq 1}">
      	 		<img  src="${pageContext.request.contextPath }/${param.imgName}" id="imgCrop" name="imgCrop" border="0" />    
      	 	</c:when>
		</c:choose>  
		</td>               
	</tr> 
        
	<tr>  
		<td>
			<label>X1 <input type="text" size="4" id="labelX" name="labelX" /></label>
			<label>Y1 <input type="text" size="4" id="labelY" name="labelY" /></label>
			<label>X2 <input type="text" size="4" id="labelX2" name="labelX2" /></label>
			<label>Y2 <input type="text" size="4" id="labelY2" name="labelY2" /></label>
			<label>W <input type="text" size="4" id="labelW" name="labelW" /></label>
			<label>H <input type="text" size="4" id="labelH" name="labelH" /></label>
		</td>    
	</tr>
      
	<tr>  
		<td  colspan="2"><a href="index.jsp">返回上传图片</a></td>    
	</tr>            
</table>

